package com.bwie.entity;

public class Article {

	private Integer id;
	private String title;
	private String pic;
	private Channel channel;
	private Category category;
	private String context;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	
	public Category getCategory() {
		return category;
	}
	public void setCategory(Category category) {
		this.category = category;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	@Override
	public String toString() {
		return "Article [id=" + id + ", title=" + title + ", pic=" + pic + ", channel=" + channel + ", category="
				+ category + ", context=" + context + "]";
	}
	public Channel getChannel() {
		return channel;
	}
	public void setChannel(Channel channel) {
		this.channel = channel;
	}
	public Article(Integer id, String title, String pic, Channel channel, Category category, String context) {
		super();
		this.id = id;
		this.title = title;
		this.pic = pic;
		this.channel = channel;
		this.category = category;
		this.context = context;
	}
	public Article() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
